package
{
	import flash.display.Sprite;
	import flash.events.Event;
	
	import game.Game;
	
	public class Main extends Sprite
	{
		private var _game:Game;
		
		public function Main()
		{
			this.addEventListener(Event.ENTER_FRAME, construct);
		}
		
		private function construct(event:Event):void
		{
			this.removeEventListener(Event.ENTER_FRAME, construct);
			
			this._game = new Game(this);
		}
	}
}